import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('../views/Home.vue')
  },
  {
    path:'/waterBallPage',
    name:'waterBallPage',
    component:()=> import('../views/waterPage/index')
  },
  {
    path:'/sqaueLeftPage',
    name:'sqaueLeftPage',
    component:()=> import('../views/sqaueLeftPage/index')
  },
  {
    path:'/lineChartPage',
    name:'lineChartPage',
    component:()=> import('../views/lineChartPage/index')
  },
  {
    path:"/lineBottomPage",
    name:'lineBottomPage',
    component:()=> import('../views/lineBottomPage/index')
  },
  {
    path:'/chinaMapPage',
    name:"chinaMapPage",
    component:()=>import('../views/chinaMapPage/index')
  },
  {
    path:'/centerSqlPage',
    name:"centerSqlPage",
    component:()=>import('../views/canterSqlPage/index')
  },
  {
    path:'/leiDaPage',
    name:"leiDaPage",
    component:()=>import('../views/leiDaPage/index')
  },
  {
    path:'/chinaMap3dPage',
    name:'chinaMap3dPage',
    component:()=>import('../views/chinaMap3dPage/index')
  }
]

const router = new VueRouter({
  routes
})

export default router
